﻿@model Category

@{Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";}
@section seo{
    <title>Api類別列表</title>
}
@section script{
    <script>
        $(function () {
            window.saveUrl = '@Url.Action("Edit",new { Area="Admin", Th.ProjectId })'
            var message = '@ViewBag.Error';
            if (message != undefined && message != '')
                msgBox.showMsgErr(message);
        });

        var nodes = ('@Html.Raw(ViewBag.Nodes)');
    </script>
    <script src="~/js/categorylist.js?v=2"></script>
}
<form id="form1">
    @Html.AntiForgeryToken()
    <!--左邊菜單--開始-->
    @Html.Partial("_leftMenu")
    <!--左邊菜單--結束-->
    <div class="class=" shanpin_right"">
        <div class="productfun">
            <div class="proct2 col-lg-9 col-sm-4 col-xs-9">
                <div id="right" style="padding: 0px 10px 0px 10px;">
                    <input type="button" class="save_continue button button-glow button-rounded button-royal" value="增加父節點" id="addParent" /><br />
                    <div style="width: 600px; float: left">
                        <ul id="treeDemo" class="ztree" style="width: 500px; margin-top: 10px; border: 1px solid #617775; background: white; height: auto; overflow: no-display"></ul>
                    </div>
                    <div style="width: 505px; margin-top: 10px; vertical-align: middle; float: left">
                        <input type="button" class="save_continue button button-glow button-rounded button-royal" value="保存" id="save" />
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</form>
